package top.chmin.project.cloud.sys.table.info;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;


/**
 * chmin
 * 2024-01-25 14:19:37
 * cloud-code
 */
public interface TableInfoSelectRest {

    @PostMapping("/cloud-code/tableInfo/auto/select")
    R select(@RequestBody P p);

    @Getter
    @Setter
    @Accessors(chain = true)
    class P {
        private Integer id;
    }

    @Getter
    @Setter
    @Accessors(chain = true)
    class R {
        private Integer id;
        /*###########auto#start###########*/
        // table前缀
        private String prefix;
        // table编号
        private String tableCode;
        // table注释
        private String tableComment;
        // table名称
        private String tableName;
        /*###########auto##end############*/
        /* append $modelFieldAppender$ */
    }

}
